package se.wangs.visitor;

import se.wangs.visitor.impl.Candy;
import se.wangs.visitor.impl.Fruit;
import se.wangs.visitor.impl.Wine;

/**
 * * -- coding: UTF-8 -- *
 *
 * @author wangs
 * @date 2023/12/18 9:50
 * @description 访问者
 */
public interface Visitor {
    public void visit(Candy candy);

    public void visit(Fruit fruit);

    public void visit(Wine wine);
}
